home *** CD-ROM | disk | FTP | other *** search
- property OldSprite
-
- on new me
- set property to -1
- end
-
- on mouseDown me
- set newSprite to ((the mouseV - 213) / 13 * 2) + 62
- if OldSprite > 0 then
- set the visible of sprite OldSprite to 0
- set the visible of sprite (OldSprite + 1) to 0
- end if
- set the visible of sprite newSprite to 1
- set the visible of sprite (newSprite + 1) to 1
- set OldSprite to newSprite
- end
-